g varies only along span(B)
span(B)
Xi (predictors)
Yi = g(BXi)
∇g(x) ∈ span(B)