Proximal gradient algorithm for convex optimization, using a diagonal +/- rank-1 norm