Merge SweepInnerOuter.tmpl.cpp and Sweep.tmpl.cpp
They are almost identical except for the extra inner-outer functions, so they should be merged into one template. This would have avoided !422 (merged).
They are almost identical except for the extra inner-outer functions, so they should be merged into one template. This would have avoided !422 (merged).