patches: rewritten algorithm for ICA and KSVD reconstruction with maximum RMSE (simple algorithm: just take vectors in decreasing order of their (squared) associated coefficients)