Added L1/L2 penalties to PretrainedLayer