http://image3.slideserve.com/6585975/correlation-calculation-n.jpg