Impact of grain number fluctuations in the MOS transistor gate on matching performance