Time slice

This function can be quite slow when called repeatedly (e.g. when slicing a large number of parallel AnalogSignals).  I think this may be due to quantities, as the units need to be to be re-scaled on each call.  At least, the function seems to work!  Let's see how things go.