matlab implementation of LDA for 2 class