Clean up direction/rotation calculations