Removed Z from all distance algorithms