before you try converting this to row vector, just try transposing the matrix before using this func
before you try converting this to row vector, just try transposing the matrix before using this function. I have zero idea what type of vectors he matrices in system.numerics prefers, and the easiest way to check is to run calculations with a transposed matrix.