Added measure of distance between intervals.
Merge pull request #17 from dmcclean/master

Added measure of distance between intervals.