Testing Zv variable. Failure upon using the pdist function