Mathematical model for evaluation of surface analysis data by total reflection XRF