Implemented the 'fit to mean' algorithm for the structure.superimpose user function.
Authored by: bugman 2011-10-26
Parent: [r14928]
Child: [r14930]