minor changes

minor changes according to changes I made to function
generateUtahPWdistances