Comparing Firefly Algorithm, Imperialist Competitive Algorithm and Quantum Particle Swarm Optimization on analytic objective functions and residual statics corrections