Fixed mistake in debias.  Fixed rounded issue in test.