Threw away lots of duplicate code, introduced filter direction and
handle coefficients more sensibly.
Removed generated code
Removed generated code from repository and added to ignore files