Fix compilation files, add CUDA source (not working because of GCL), add Matlab script to reconstruct global field