add some utility functions
Merge pull request #4 from yingjieMiao/lda

add some utility functions