Fixes bugs in functions _round and validate that caused bugs in lab-rgb conversion