Started working on spinning with azimuth.

Finish later