added options class for cobyla optimization