small changes
Merge branch 'master' of https://github.com/lejehl/cdec-dtrain
fixes to average precision