Added rudimentary downsampling to sinewave

This is not final. The last point still tends to vanish with certain
downsample values and there are still ~520 items in this.points.