Swapped out tabs for spaces and reformatted indentation for readability
(particularly on the github view)
Added some nice comments to explain mathy methods. Also fixed the tests,
which is probably more important.
Included jars for JUnit in commit.