added correlation calculating script