mainwindow.cpp: fixed drawRealisations()
net.cpp: minor changes in pca()