Python 3 fix for the setting of diffusion and alignment tensor simulation values.
The previous code somehow worked in Python 2 but was not formally correct and broke in Python 3.
Authored by: bugman 2012-10-07
Parent: [r17732]
Child: [r17734]