Update class-render.php

Fix the colgroup loop which used an undefined variable ($columns) & therefore wouldn’t work, with the $num_columns variable which correctly outputs the <colgroup> code.