Configurable math namespace name
Misc. changes to math classes