Merge pull request #16 from dmcclean/master

Changed mignitude, spelling issue, exceptions
Merge pull request #17 from dmcclean/master

Added measure of distance between intervals.