cvx approx to weighted residuals compiles. Not tested