stop copying that int
convenience function for ESM test added
permutation p-value functions added