Converted all doubles to reals ('typedef double real' or 'typedef float real' when compiling) and serialized PGroup and ParticleVec pointers. Note that this commit introduces a memory leak in cuda_ptm that needs to be fixed"
Added pointer serialization to Grid and Frame and fixed seg fault in CUDAPTM
CUDA version is working!!! and needs to be cleaned up :(