Started filling out all functions in Math.