Revert "Implements some math functions for faster performance"

This reverts commit 727fe69f69ae7b32fdda3df0f5b037d5414cbce8.