Minor swe fix

- corrected setInput for the swe point of view: this method must be called before calling evaluate, so fixed renaming this function to evaluate(int) and returning evaluate() after setting input