Python Implementations of Various Mean Calculations