add lda_zpx implementation