Digital Wave formulation of quasi-static Partial Element Equivalent Circuit method