Efficient estimation and computation of parameters and nonparametric functions in generalized semi/non-parametric regression models