Added sanitizing and checking to axes metadata
Switched argument order to match other methods
Spelt out restriction in javadoc
Change generics to allow mask import to be extended
Made sanitization use a view (in case the dataset is not lazy)
Handle null axis in sanitize