compute hit vector
Merge pull request #25 from devnikor/master

compute hit vector