Some fixes for the to_tensor() function. The elements Ayx, Azx, and Azy were being referenced!
Authored by: bugman 2008-07-09
Parent: [r6891]
Child: [r6893]