Vector3f[] pickupPos3f = (Vector3f[])pickupPos.toArray(new Vector3f[0]);
fNumNodes = Math.abs(fNumNodes);
numNodes = Math.min(Math.round((fNumNodes < 1 ? fNumNodes * playerPos3f.length : fNumNodes)), playerPos3f.length);
KMeansData kmResults = KMeansCalc.doKMeans(numNodes, playerPos3f, pickupPos3f);
wpMap.addNode(kmResults.centroids);
for(int i = 1; i < kmResults.clusterID.length; i++)
{