Implemented profiles and calculating BMR.