changed interface to index() functions in slicer/kslicer. Changed the
corresponding interfaces to matrix mvproduct. I think a length and two
vectors of equal length implies the shared length better than two
vectors.
struggling with inverse