Built in Math class felt limited. Trying to extend it.