Use colorbrewer in maxbargame

Also fix rounding errors resulting in NaNs