Revert "attempt to add functions to utils\math.js"

This reverts commit 3ac6c9e50d9a74d93b2dff424546730e68cb86a9.