public synchronized void setNumberOfAtoms(int n) {
		if (n < 0)
			throw new IllegalArgumentException("# of atoms cannot be negative");
		numberOfAtoms = n;
		updateParArray = true;
		view.notifyNOPChange();
	}