Begin implementing pf likelihood to use sampled trees
Finish pf likelihood implementation using sampled trees
Bug fixes
Bug fix
Simplify code
Bug fix/likelihood caching feature
Bug fixes
Remove redundant override
Bug fix and minor improvement
Make code nicer
Use child number instead of left/right
Make parameter final
Make parameters final
Make code nicer
Use child number instead of left/right
Revert hunk from "Make code nicer"

This reverts a hunk from commit 02ca637.
Avoid unnecessary casting
Potential bug fix
Revert "Use child number instead of left/right"

This prevents a bug where the 1st child is inserted before the 0th.

This reverts commit a7ddfa59774e1be6055805fb88dabdf1fe06e7c0.
Bug fix