modified a way of optimization a bit
updated best params and randomization method + plotting script