Refactoring the approximation code.
Draft of replaying the branch log.
Current draft of replaying cuts.