Multiphase equilibrium flash calculations for systems containing gas hydrates