removed Factor and replaced with DenseVector. Continued fast lda impelemntation