Math functions from util added to new file helper/math
Old code from util removed