Update MTPDF.m

Added extra defensive memory management to draw methods.
Merge pull request #7 from Vortec4800/master

Memory Management Tweaks