Moving average should

now work for either linear or circular arguments as long as we use the
second function call for add();