Elasitc net max lambda with weights.

  Imlemented weight adjustment for the max lambda calculation.
Also a strategy for the alpha = 0 (ridge) case.  No idea what
the fortran code does currently, the literature is silent on
this point.