Fixing "ValueError: startprob must sum to 1.0"

Fixing or workaround for "ValueError: startprob must sum to 1.0" or "ValueError: Rows of transmat must sum to 1.0".

The reason for these error is that the value of self._covars_ is nan. Adding a minimum denominator 1e-5 will solve these.