if (yAxisPC > numComponents)
numComponents = yAxisPC;
// Scale data and do PCA
Preprocess.scaleToUnityVariance(rawData);
PCA pcaProj = new PCA(rawData, numComponents);
projectionStatus = pcaProj.getProjectionStatus();
double[][] result = pcaProj.getState();
if (status == TaskStatus.CANCELED)
return;
component1Coords = result[xAxisPC - 1];