Added a trivial solution check to the Gibbs PT flash algorithm.