stop copying that int
convenience function for ESM test added
permutation p-value functions added
Merge branches 'dev' and 'master'