fixed a couple of bugs
Merge branch 'segmentsets' of https://github.com/thanujadax/sopnet into segmentsets

Conflicts:
	sopnet/sopnet/inference/SegmentPairDetailsWriter.cpp
Merge branch 'segmentsets' of https://github.com/thanujadax/sopnet into segmentsets
resolved merge conflicts