Fixing some bugs in computeCoherence function
Added a missing line in class description