Simplification of distance measure interface (just one method should be used for calculating distance - no code duplication)
for distances doubles will be implicitly used
updated API for distance computing
updated code to work with simplified API
removed getDouble method which was the same as getValue
updated vector definition