Wedge smoothing function cleanup and improvements

Clarifies in the code that the wedge smoothing
functions can in fact be generated by shift of three 1-D
prototypes. Also changes the smoothing function a little
which gives a slight improvement.
Also includes some generic cleanups.

Change-Id: I5735e0021d50c36c42509d4fc0939e7220564571
2 files changed