extend sammon embedding with different distance methods, adjust r-square computation to take different distance measures into account, cache r-square computation, adjust bad r-square warning