Modify name of object used in generating matrix