DEV: put namespace maths
DEV: put newton raphson in namespace maths