Some segmentation tools
Fixed calibration bug