Rearranged the spin.element user function arguments.
Authored by: bugman 2012-06-19
Parent: [r16987]
Child: [r16989]