Added mean and gaussian filter.

First steps in order to get the Canny operator working. I thought it would be better if I do it following steps and generating simple functions which could be reused later.