Improvements to air mass calculations for ground-based infrared measurements [rapid communication]