Fixed a lot of bugs. Converted the viterbi alg to operate with logarithms of probabilities. The language inspection works! It actually works!