Ported C++ MLP code.

Testing hasn't yet occured; however, all previous MLP code is now
housed within the MLP package without syntax errors.