ENH : improved the demonstration code

 - changed from stack of arrays to object with `__getitem__`
   defined
 - changed to sinusodal functions from Gaussian