+ added scalar product functionality
+ added functionality to turn an image to grayscale