added output of pressures at junctions
added output for pipes