moved lncc computation into function
moved lncc computation into function

tobiasgass/ETH-SegReg,heartvalve/ETH-SegReg,heartvalve/ETH-SegReg,heartvalve/ETH-SegReg,tobiasgass/ETH-SegReg,tobiasgass/ETH-SegReg,tobiasgass/ETH-SegReg,heartvalve/ETH-SegReg,tobiasgass/ETH-SegReg,heartvalve/ETH-SegReg