Fixed code to compile with CUDA support on Linux, removed use of -std=c++0x flag and changed all <cXXX> includes to <XXX.h> for consistency, as CUDA does not like C++0x or C++1x.