Update example-slices.r

removing unused parameters for compute.slices