optimization part of ENDE is done; need to work on parameter estimation