add "add" function to StochasticPolynomialFunction Class