Updated lua math library