fixed seg fault by changing deletes to actually delete the particle** object and not just its members