added missing OpenCV includes for HW6
added missing arguments for inexact error checking.
moved hw6 ref cpp to h
Fixed unresolved references to min/max. Pointed them to std::
removed reference calculation from student kernel code
removed unnecessary thrust includes
changed arguments to main; added in calls to reference calc and error check at end of main.