update library: mixture of Gaussian
update analyzeResults

1. update the display of each entry in a dictionary element
2. use outNum to control the output number, instead using thresDiffW
3. output significant dictionary element and its M
4. change the output image to ".jpg" format