Still had to tweak some things in local2global because we changed xyzRng from being a list to being the first and last element