Implement distance functions (apart from dwithin)

Also token bump of version number