Fixed problem with nan in training gmm

https://github.com/idiap/bob/issues/185