Modified calculation of L1 norm.