Testing the formulation of Park and Dejnakarintra to calculate thunderstorm dc electric fields