Adding option to perform statistical analysis on distortions