Converted project to GLFW3 and CUDA 5.0+