Importing changeMatrix operation