05.30.13 added X.dmat assignment in pkmeans() to avoid looking for the wrong name in the .GlobalEnv