SelectSubMatrix: correct algorithm input variables.