Adding function to compute threads.
Adding function to compute threads.

luisibanez/CommunityAnalyzer,luisibanez/CommunityAnalyzer,luisibanez/CommunityAnalyzer,luisibanez/CommunityAnalyzer,luisibanez/CommunityAnalyzer