Calculation of Relative Permeability from Displacement Experiments