A Systematic Model-based Approach to Engineering Vertical Flow Assays