added gnu parallel-like parameters to pdist.