implemented powell search for parameter tuning (so far, not parallelized)