Adapted from PsychroLib (version 2.5.0) (https://github.com/psychrometrics/psychrolib).
Contains functions for calculating thermodynamic properties of gas-vapor mixtures and standard atmosphere suitable for most engineering, physical and meteorological applications.