Added interface (like snoopy) and more checks of simulation convergence.
Added Python and Matlab routines