A fast and precise genetic algorithm for a non-linear fitting problem