fixed roe formula; refactored calculation from "after each created" to "after all created"
a bit of functional style
calculating roe_min for empty roe_min only
generated Medians
median calculation draft