Added base file for CUDA version. Updated makefile to build both CPU and GPU versions.