Computes the L1 norm (Manhattan norm) of an array of values.