We fixed another access from _width and _height to width() and height()
In the grayvalue method we deleted the unnecessary k-loop
in the convolve-Method we moved an independent calculation outside the for-loop.