What is the formula used to generate B-H loops for the Saturable Core inductor and the B-H loop calculator? I have B-H loop data saved in MATLAB and would like to update my scripts to generate K1, Kexp1, K2, and Kexp2 coefficients for use in PSIM. The documentation provides a good way to come up with coefficients from a visual plot, but since I have the data I would like to curve fit to the formula being used.