script to calculate DICE coefficient for FSL segmentation