filter class modified to accept a custom regularization matrix M. M = speye(sz) by default.