Updated weight decay and L1 norm in optimizers code.