Bias set generalized

creation of bias set has been generalized and all global variables have
been pushed into anonymous functinos
Merge branch 'master' of https://github.com/cebeery/LinearityII_Opt