finished initial implementation of summation filter