Put all functions into one module

Replaced the three modules with the 'thmmis407.py' file