Novel method of measuring pulmonary vascular resistance