Added tutorials; debug
fixed the OpenCV error
minor changes