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].