$ 0 0 I think i figured what was the problem; turns out I had a couple of NaN values in my matrix which caused the procedure to fail.