now both compile

fixed some minor errors and a linker problem, but there is a starting
base for building a general filter - now to start adding the code for
training each individual filter (which inherits the properties from
filter2d and filter1d classes)