Stereo matching using SGM with CUDA - Chessboard