State two factors that will affect the capacitance of a capacitor .