Fix bugs in the evaluation code.
Remove commented out code.
Use float division for mean rank.
Merge pull request #17 from maciejkula/evaluation_bugfixes

Evaluation bugfixes