Fixed bug.

Wrong arguments passed to reshape() routine.