updated logic of code from file I/O to memory transfer
working on results
updated example with davids example
almost done with epiresults
optima.py runs to generat results