An efficient method for evaluating the parameters of the hysteresis loop model of magnetic materials