Sorry if this is a stupid question, but what is the purpose of adding diodes at each switch? I know that the function of a diode is to only allow current to travel in one direction, but why is this important when building a mechanical keyboard matrix? And why are diodes NOT required for the membranes of rubber dome keyboards? Can anyone explain this in non-technical terms? Thanks.