custom makefile
add missing file for linux make
make file upgrade to v6
port to linux, replace malloc by new, comment exit()
reset cuda