General Transfer Functions for Multiphase Flow in Fractured Reservoirs