first version
bugfix in p-value for two-sided Sobel test; added one-sided tests