Switched to arithmetic mean functions for easy subsitution to harmonic mean