Summary tool

Implemented new functionality of summarizing results.