Function Changes

Names situation should be resolved. Function calculates agreement scores
as expected.