correlation is now calculated and plotted afterwards
arbitrary dimension realized
still lots of output