Refactor Circuit#analyze! and unify voltage setting in nodes