An Algorithm for calculating thermodynamic properties of simple fluids suitable for space thermal control