Solving the Topographic Potential Bias as an Initial Value Problem