Fix several bugs in sliced_ndarray implementation

Fix several bugs when slicing a sliced_ndarray.
Thanks to the great recursive fft example from Adrien merlini.