Fixed correlation calculation