Update cornerDetect.cpp