Dark Matrix

The legendary Dark Matrix was a repository of all the dead Time Lord's most evil, twisted and perverted thoughts. The Doctor confronted the Dark Matrix which was trapped inside a TARDIS as it imploded. (BBC: Matrix) .