moved math/ to utils/math/