Added input_fns to CFProjection, allowing projection level transformations of input activity

Added a input_fns parameter to CFProjection and added code to apply them in the activate
methods of CFProjection and SparseCFProjection.