Added MPid module to toolkit, closes #22.