Fix namespace scope errors for System.Math functions

Fix namespace scope errors for System.Math functions. Convert tabs to
spaces for consistency with other project files.
Add additional constructors that only require a module input