Proper caloric calculation logic.