A fast score-based search algorithm for maximal ancestral graphs using entropy