Added modified voltmeter code.