Fixed minor error in m2t.
Added function for computing includes.