Added some functionality to divergenceSummary

Needs testing, and some input from Julia