construct a matrix, not a seq of vectors.  Uses non-functional approach for now...