Have the BayesOpt cost function read from a config file, instead of setting constants.
Have the BayesOpt cost function read from a config file, instead of setting constants.