Flip model in case of negative matrix determinant.