Added gradient filter.