Fix prepare.glmnet() in the input matrix for glmnet post.