Fixed bug to make L1NormLossLayer compile.
Gradient test still fails. No idea why. I'll use the new regularization stuff instead.