Now calculates the correct number of minutes at each environmental level
and excludes LT/RT.