On the Weighted Quartet Consensus problem