Added support for building a matrix out of row vectors