adding L1/L2 weight penalties