Solution of Linear and Nonlinear Advection-Diffusion Problems on a Sphere Using Direct Implicit Algorithm (1)