Added KDEX.

Closes #48.