Call setMatrixWorkspace for all 1d functions. Re #7572
Merge branch 'bugfix/7572_instrument_fitting_parameters' into develop