Fixed errors in functions estimatePhi and TestPedigree so the example data works using R 3.1