Fixes compute_recall 

*Fixes the wrong sum over the axis in compute_recall function.
*Added a unit test for compute_recall function.
*Pep8 to unit tests.