Added replacement rules to vector() and matrix()