Updated LatitudeToArray Method