Particle filter for semi-Markov model works