Round instead of truncate when doing fixed point adjustment of BRIGHT.
Use *5/10 instead of /2 in square root loop.