changed xfer_* to activation_*, modified docs and demo to match;
made internal regression use LinearRegression object