continued implementation of SMGPR gradients. noise is still problematic