A currents of removal approach for interpreting carbonate sedimentary processes