Module for simulation function of the CODEX algorithm
Functions
simulate(params[, nsims, validate])
simulate
Performs the simulated annealing algorithm (SA).