iteration on benchmarking utils

make class, simplify code, use numpy