improved loss and gradients to be independent of n_samples by normalizing
improved loss and gradients to be independent of n_samples by normalizing

the872/pyglmnet,pavanramkumar/pyglmnet,glm-tools/pyglmnet