Add zipValues and squaredDistance for vectors

Added squaredDistance for vectors with specialized implementation for Dense/Dense and Dense/Sparse. The performance should be comparable to bare-bone implementations.