Switching to vector math for movement