finished math/math.js

finished math/math.js