Greatly improve lm_sym_to_coeffs times on sparser matrices (+ Add basic support to block matrices)