Added tests for new optimization routines.
Added benchmarks for number of eval points
Added check for empty activities matrix