Added calculation of distance measures
Merge pull request #15 from jolyonb/jolyon

Added calculation of distance measures