The maximum number of labels allowed/possible in label_volumes_from_jacobians was 255 (hardcoded). Changed this such that the maximum value in the label file is found first, and then an array is allocated that is large enough to hold value for all possible labels. (This used to cause segmentation faults when label volumes were fed to the program that had labels larger than 255)