fixed nasty bug where program would crash upon loading new adjmat of different size due to different soft cap # of edges