Modifying matrix stack operations: