add: OLS
add: formula 12 for varying model 3
add: potential TODOs to generalize function