MathUtils: MAKING TWO FUNCTIONS STATIC TO MAKE iOS HAPPY