On solving the nonlinear diffusion equation: A comparison of perturbation, iterative, and optimal techniques for an arbitrary diffusivity