Added renderer transformations.
Caught a potential bug.
Updated test program.