Tweaked Distance methods

Added support for Quasi-Euclidean - thanks slacky!