added a getSlice method for slicing the ct, which will be our plane
from the registration