Edits to MDDOCv2.c
Merge pull request #5 from RobTest5/working

Edits to MDDOCv2.c