added script for computing distortion and PE between two specified demonstrations and a given segment