Resolving Steep Gradients For Physics-Informed Neural Networks: Richards’ Equation And Convection-Diffusion Equation