Added CapM function, moved functions to helper file
Merge branch 'master' of https://github.com/ARKilgore/IRR_Finder