Replace function eval_msi by a method implemented directly in MultiSamplePlot class called Integrate().