tidied up parametersweepinput