MCMC implementation to find particle traces