checking success/fail of clWaitForEvents, also passing error returns from opencl up the chain
fixed bug in passing opencl buffer to clSetKernelArg in the divide function
fixed bug: was not allocating enough room for original_output_image
forgot to multiply output image by UINT16_MAX