A Taunton PhD student has graduated three years after a traumatic brain injury, which resulted in memory loss.