Computer simulation of negative-resistance oscillators using a Monte-Carlo model of gallium arsenide