Calculation of Remaining Moles