some comments to aid understanding, some simpler function subsitutes
some comments to aid understanding, some simpler function subsitutes

joshgabriel/MPInterfaces,henniggroup/MPInterfaces,henniggroup/MPInterfaces,joshgabriel/MPInterfaces