Calculates sleep debt using sleep records from the Fitbit API