Add a helper function for computing the L1 cost. It looks byte by byte and sums how much the calldata would cost given the calldata costs for 0 or non 0 bytes.