Modify ne MDS demo to work with improved Gibbs kernel.