Multidimensional minimization

This pull request contains four multidimensional minimization methods with specs.