started unit testing; many bugs

added mathTest class to test basic mathemagical functions