Added class double_operator and pixel_check for double

Class double_operator is made for convolution with arbitrary 2D cores
with values of type double.
A function pixel_check checks if an argument is in range [0..255], if it
is, it returns its argument, if not, it returns the closest of borders.