This is a linear function as a polynomial function. see http://en.wikipedia.org/wiki/Linear_function. The function takes variables and returns a single value. maybe the name should be changed to something else? Do you have any suggestion?