added parameter tuning support for algorithms