Created the to_tensor() function to convert from 5D vector to 3D matrix.
Authored by: bugman 2008-07-09
Parent: [r6890]
Child: [r6892]