Removed math utilities from util to mathutil