Solve bug when rub bench.py for Meszaros library

The parameter `g` of the `bench` function at bench.py must be a list.