cosine calculation for doc BOWs
Added basic evaluation skeleton.