Added gray-scale and negative preprocessing for input images

#3
by nlztrk - opened