Add useful functions to the Math object