Gravar-mail: Functional data analysis of sleeping energy expenditure