Sleep Calculator is an app that tells calculates which times for you to sleep at in order to wake up in between sleep cycles based on 90 minute sleep cycles.
This app finds the optimal time for you to go to bed and wake up based on 90 minute cycles. also it uses very little battery and energy so you can leave your iPhone on all night without wasting memory.