The Inclusion of Friction in Lattice-Based Cellular Automata Modeling of Granular Flows