Explanation of Conservation of Matter in Chemical Reactions