corrected the import statements

Needed to make it work correctly for the user defined package "newmath"