Finalized implementation of LP for ordering contigs in gaps.