rm no use area in code
add a var named mat as copy matrix of explanatory variable
replace var_explanatory with mat in for loop
confirm calc proceeds
take auto-scaling calculation out from main function
var_objective is also auto-scaled.