Simulation and measurement of characteristics of MICROMEGAS gaseous detectors.