added maxwell python routine and makefile