ENH: KK implementation & example