matrix kdp