Using Kensho, a hedge fund analytics tool, CNBC looked at what happens during major periods of rising interest rates.