Change the package linearalgebra to algebra and wrote some class for
LDAExtractor.