Tentative fix for issue #22: remove the width argument from the functions extract_poly_slice() and extract_pv_slice().

I have updated the example notebook as well, but this needs to be tested.