Semi-automatic method for determination of total tin in rocks