A gradient free optimization routine which combines Particle Swarm Optimization with a local optimization for each particle