Text this: Using Least squares methods and nonlinear regression Methods to Calculate the Approximate Value of Ionicity in Terms of the Energy Gap