swap Z and Y for rotations, add gravity to accelerations