Changed voltage calculation