Parallelized PND code, fixed bug in correlation in PND codes, and
added Euc PND codes.