implement shapiro-wilk test with subsampling