Get serial kernel to compile by using opencv 'at' Mat notation.
Remove unused theta matrix.
Add command line switching ability between opencl and serial versions.
Add overridden parameterless methods and buffer system to support them.