simulated annealing commit and minor updates

simulated annealing commit. update to numeric optimizations and simple
algorithms