Modifying van der Waals Equation of State to Consider Influence of Confinement on Phase Behavior