L1norm function

L1norm for piecewise linear functions