A variation of particle filter for knee tracking