Redesign of the simulated annealing module in the GNU Scientific Library