commented version2 calculateGridSecondVersion FindCornersSecondVersion