Updated mt prefix computation algorithm.
Finished MT planning algorithm. Added MT support.