Cross-Flow Model for Gas Separation by Membranes