Make views produced by np.einsum writeable

`einsum` can be useful for extracting a view of different diagonals of an array, but, currently, the views it returns are not writable. This changes that.