This should also have a toRowMatrix.