Refs #8292 Make the use of ties optional.

Replace python side function building.
Merge branch 'bugfix/8292_convfit_tie_centres' into develop