Updated to compile with Visual Studio 2010 and CUDA 5.5