OneWay: create base df
OneWay: tested with stdat and works. Minor adjustment of IF
OneWay: fixed calculations of coef and ssmd. Need to test and fix mean calculations
OneWay: fix for loop bug to calculate coef and ssmd
OneWay: minor fixes after testing 1 pop. Seems OK now