probably corrected most of the resampling call bugs
probably corrected most of the resampling call bugs

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