An automatic sleep cycle calculator that integrates with the Android alarm