NdMapping slicing operations now performed iteratively for speed

Previously slicing operations would generate all the filter
conditions and apply them all at once. This commit switches to
an iterative approach, where each condition filters the list
of items incrementally.
Added dim_values method to NdMapping
Cleaned up imports in interface module