This is somewhat related. I remember watching an episode of "Stan Lee's Super humans" on the Discovery channel. They were with a man who was also able to do lightning fast calculations, not of the complexity as described in the article, but he could easily recall dates, multiply 5 digit numbers faster than someone with a calculator etc.
They put this man under an MRI scanner while giving him problems to solve. What they noticed was an unusually high activity in a part of the brain that is responsible for eye movement. So – perhaps not very scientifically responsible – the neurologist offered the explanation that he was using a part of his brain that is normally used to solve complex mathematics subconsciously in order to position our eyes properly throughout the day. Apparently this motor movement is very complex and he was leveraging the ability of this area to solve these arithmetic problems and engage in pattern matching in order to recollect past dates.