Nonlocal Formulation For Flow In Porous Media