preparing to add in changes for using spherical coords or not, need to change to a branch now