is.flexible function

Function to check the flexibility of PDM matrix.