Calculation of electric potential at specific points