simple math library for nodejs