added two electrode setup tests
improved electrode setup validation, added matplotlib dependency