Multimodal Bayesian Optimization Framework for Local Optima Detection Code for paper A Bayesian Optimization Framework for Finding Local Optima in Expensive Multimodal Functions