Numerical determination of transmembrane voltage induced on irregularly shaped cells