Added MPS and thickness approximation algorithms