Fixing rounding error and removing debug message.