Fixed #4

Moved math related utility functions to a new Math.Utils object.