Using matrix stack - my code seems to modify the whole stack

Printable View