Added serial versions of the three kernels. This is currently not compiling due to issues with the way we are addressing the Mat data structures. Mat does not natively support using input[pos] or input[row][col].
Added changes to fix most of the issues with addressing a Mat object. A few changes still require Sean to fix.
Merge pull request #22 from jolson6/master

Added serial versions of the three kernels.