CPM: A software tool for Communication Performance Modelling