Modified the viterbi to make underflow resistant

Replaced probability multiplication by log-summation. This bumps the underflow limit from 1E-308 (~1000 parsed characters) to 1E-(1.7E308)