Object for elastic net optimization with glmnet optimizer
a list with fit results
newcreates a new object. Requires (1) a vector with weights for each parameter and (2) a list with control elements
setHessianchanges the Hessian of the model. Expects a matrix
optimizeoptimize the model. Expects a vector with starting values, a SEM of type SEM_Cpp, a lambda and an alpha value.