Improve Math helper class and tests.
ReSharper cleanup.
Merge pull request #16 from Sharparam/patch

Cleanup and improvements