corrected trilinear, mpi_gather, working on z_buffer