boundarySum calculation and plotting added