refactor VectorMatrixMN constructor functions
test VectorMatrixMN construction