Revert "Implements some math functions for faster performance"

This reverts commit 078ee28c592c21c49becdde9c5fea92c0dfd6a66.

Change-Id: Ic4e0cf2c4d350700d0e9d0d8c09051a8d3d37619
Merge "Revert "Implements some math functions for faster performance"" into kitkat