An algorithm for fast uncertainty evaluation in RMS voltage measurement