How to dispose of Matrix object?

Hi, I’ve got two python files, the first executes the second. Both initialize matrix objects to do drawing. The first displays OK, the 2nd displays but the graphics are distorted. When run individually, both scripts display correctly. So I’m thinking I need to “clean up” the matrix object between executions. How to do that? thanks,