Investigations on the impact of spatial ability and scientific reasoning of student comprehension in physics, State Assessment Test, and STEM courses