fixing a bug in gengrad so that it can solve things besides proximal maps -- was ignoring smooth_objective -- still seems a little off, though
testing atom's solve method