Corrected a bug in the scheduler.
Corrected a bug in MT planner. Added MT params. Stable.