added a catch for non psd matrices in smoother