Renamed the diffusion tensor data structure type() method to set_type().
This is because the type is stored as the 'type' object, clashing with the method name.
Authored by: bugman 2012-10-08
Parent: [r17742]
Child: [r17744]