Solves the generalized Fused Lasso