global correlation build

build finished except pandas blows up due to memory error. Need to
debug.