minor fix to Mathematics class (removed misplaced code)