Creates the regression function for the GP mean.
regF_gen(trend.dim, trend.pol, interaction, l, d)a function
which dimension should the trend follow: "input",
"fidelity", or "both".
Which polynomial degree should the input mean trend have:
"linear" or "quadratic".
polynomial degree of the interaction between input trend
and fidelity trend of: NULL, "linear", or "quadratic".
"linear" or "quadratic".
convergence rate parameter, usually l = 4.
input space dimension