fixed some errors
fixed some errors; added optical flow example