Minimising the Rank Aggregation Error