fixed ocl mathematical operations