fixed print cutoff bug, fixed print typos
changed makefile so nvcc does not require C++11