Analysis and Simulation of Dynamics in Probabilistic P Systems