May not be fully tested.
Simplifies the forward code by removing the "panic" mode and doing everything in log space;
this is slower in the normal case, but since we will probably be dealing with -inf elements a lot, due
to how the pruning code works, it will probably end up being faster after all.
May not be fully tested. Simplifies the forward code by removing the "panic" mode and doing everything in log space; this is slower in the normal case, but since we will probably be dealing with -inf elements a lot, due to how the pruning code works, it will probably end up being faster after all.