Added mean and gaussian filter.