WinCalcD function

Calculate Patterson's D-statistic in sliding windows