Math library for nodejs