delete testfile for SWIG/py interface
Some reformatting, more precisely defined variable types