pressure buffer was declared as the wrong size??? (it is of size
particle_count * 4 in the C++ implementation)