added methods getWeights and getWeightedFormulas
ensure numpy data types in SciPyOpt
added switch for using mpmath
more tests