Adding LocationCardinalDirection custom function