https://medium.com/@monocosmo77/new-developments-in-linear-discriminant-analysis-part1-machine-learning-3e88adb99a17