Improve tests
Merge pull request #1 from ikarienator/development

Adding base numeric theory functions.