Update baudrate calculator to include some error and precision checks.