changes to sph calcs