Adds a sanity check to turf/proc/distance_cardinal()
Merge pull request #317 from Nodrak/distcardfix

Runtime fix for distance_cardinal