ibdMatrix function

Create an IBD matrix