myslicesample.m does not anymore end with error

when starting in a point with zero PoI.

myslicesample.m
sampleSlice.m