the mincSummary code used the variable maskval which was not one of its arguments, nor was it defined in the function. As such this function did not work. In this commit, maskval is added to the argument list from mincSummary, as well as to mincMean, mincVar, mincSum and mincSd. The maskval arugment can be used if you want to run mincsummary only on a single label in a segmentation that can be provided as the mask.