Xrf fit

I will correct it. The current name is for function.