Fix for the align_tensor.init user function.
This change is needed as the tensor object is now completely read-only.
Authored by: bugman 2012-10-16
Parent: [r17851]
Child: [r17853]