Worked on a analytical gradient calculations and
scaled forward/backward probabilities. Going to
remove the scaled versions as they are less stable
in terms of numerical issues (although considerably
faster than log-versions)
Gradient functions complete.