Small set of math functions for node