Added historical Matlab mfiles

I added these mfiles so that they can be easily accessed as we convert
the code to Python.