Added Marc's version of nel_mat_conv for reference.