PRIMUS: Pedigree Reconstruction and Identification of a Maximum Unrelated Set