private void calculateVelocities(){
			for(int i = 0; i < position.length; i++){
				double[]cognitive = calculateCognitiveVelocity(i);
				double[]social = calculateSocialVelocity(i);
				for(int k = 0; k < position[i].length; k++){
					velocities[i][k] = velocities[i][k] + cognitive[k] + social[k];
				}
			}
		}