numpy.lib.stride_tricks to the rescue, resolves #60