Sobel operator added to AsyncTask. Structure slightly changed.