Added distance to Cartesian2 and Cartesian4 for consistency