initial fastlda implementation, which is quite slow..."