Change the BitSet in instance to SparseVector to save the memory and speed up the inner product compuation.
Merge branch 'origin/master'