Exact Solution of Fluid Flow through Porous Media with Variable Permeability for a Given Vorticity Distribution