Removed integral images functionality. Will just apply filters to gradient images now instead.
First shot at filtering gradient.
Added average gradient feature. Need to optimize seperable kernel because of requested shared memory size being too big.