Fixed rotation, hour angle, and many small fixes