Minor simplification in ndscatter example

There's no need to compute the matrix exponential anymore. This will make easier the conversion of this example to WebGL.