An automatic method for metabolic evaluation of gamma knife treatments