A Modified Firefly Algorithm to Solve Systems of Nonlinear Equations