Removing matrix prints