Created the diffusion tensor data structure type() method for setting the tensor type.
This is to remove the "cdp.diff_tensor.type = 'x'" code from the core of relax, as the structure is now read only.
Authored by: bugman 2012-10-08
Parent: [r17741]
Child: [r17743]