private void updateMinMax(float[] magnitudes) {
		if(minimums == null || maximums == null)
			initializeMinMax(magnitudes);
		else if(minimums.length != magnitudes.length || maximums.length != magnitudes.length)
			initializeMinMax(magnitudes);
		else
			for(int i = 0; i < magnitudes.length; ++i) {
				if(-1*magnitudes[i] < minimums[i]) {
					minimums[i] = -1*magnitudes[i];
				}
				if(-1*magnitudes[i] > maximums[i]) {
					maximums[i] = -1*magnitudes[i];
				}
			}
	}