An implementation of a global optimization method based on a response surface. Leveraging Scala and Apache Commons Math3