Setting parameters of algorithm as defined by user + running parameters search