bug fix to particle filter code

This is a fix to the cv implementation to the ConDensation code.  The released code had problems in the resampling stage of the particle filter.  These have been fixed.  I am not familiar with the regression testing framework, so have not added tests.  There is a sample program at: http://answers.opencv.org/question/6985/syntax-for-particle-filter-in-opencv-243/