Modeling fluctuations in threshold voltage and on-current due to random telegraph noise