Prepared much of the code for target prediction in on-line planner. Still have some coding to go.