EdgeSnap - fixing grayNumPy copy

I wasn't copying gray matrix. I should have been because I modify it in the fucntion later.