Basic filter types implemented

Filter types in #15 implemented.

Also a few fixes for RampedValue and some refactoring of the demo project for a slightly simpler implementation.