cleanup of pydyn dir
clean up code after analysis with pyflakes