Fix for the paramag.centre user function when a numpy array is used.
Authored by: bugman 2011-10-13
Parent: [r14867]
Child: [r14869]