convertIBD function

Convert relationship information to IBD pattern distribution