fixed bug in correlation relating to shifting quadrants.