Fixed the 'data' type which should be List<Member> but was declared as List<Map<String, Object>.  I also refactored the calcuateStats method to be clearer and decomposed.
Added ability to find, for each member, the distance to any member in one or more roles.