particles system updated. collision detection and resolution improved.