working on documentation and on extending function to interact with MProb.