Update design_prototype_decent.py

refactoring.. tests not run yet..