Completed forward. Progress on backward algorithm.