Adding nxMath class
Updating class template
Add nxMath class