String iapFile = "/home/adu/Dropbox/research/vardeman/mc-on-partition/data/jdata/tap.bin";
double[][] locs = dclong.io.BinaryReader.readDouble(locsFile, 0,0,n, 2);
double[] data = dclong.io.BinaryReader.readDouble(dataFile, 0, 0, n);
int[] initArrayPartition = dclong.io.BinaryReader.readInt(iapFile,0,0,n);
//define partition prior
FragmentPenalty fragmentPenalty = new PowerFragmentPenalty(1,90);
//define size penalty
SizePenalty sizePenalty = new LinearSizePenalty(0);
//define partition prior
// PartitionPrior partitionPrior = new DistPartitionPrior(locs,3,fragmentPenalty,sizePenalty);
PartitionPrior fragPrior = new FragmentPartitionPrior(fragmentPenalty);