Added L1Penalty and a unit test.

updated the test for L1Penalty.