Updated sobelOperator

Clarified matrix access to elements.