Fully working base version

MPI reduction and Raytracing cleanly implemented, supports global tbuffer writing.