updated stdProj

stdProj now checks, if a CUDA enabled GPU is available or not and
continues accordingly