added setParameter function to SCurveController class