generatepdm function

Function to generate a PDM matrix for flexible project planning problems.