Fix rate not being reset on round end

Debug option added
Better abstration and rounding!