Fix #13 by simplifying `filteredDirection.getDirection()` to return the sum of directions modulo 360 degrees.