new lda libs and fix in create_test_data