Assessment of algorithms for computing moist available potential energy. (23rd August 2018)