Minimizing Multimodal Functions of Continuous Variables with the Simulated Annealing Algorithm