Added new cu file for gpu_functions and rectified the bloody Makefile, naive port done now