Three-dimensional unsaturated flow modeling using cellular automata