Refactored code, added tests and fixed issues
Merge branch 'master' of https://github.com/RRGWhite/IRDM.git
Refactoring, tests & improvement to the prediction algorithm