Updated the DE code to the latest PyDE
Bugfixes