A basic implementation of Linear Discriminant Analysis (LDA) which can be used for binary classification