added error checking to ols.cu. updated slides.