added delete functions to scripting API
moved GSD calculation for pedigree matrix entries to core