Fixed a little mistake in the score computation.