Fixed issue with asDataset function for abstract datasets
Fixed problem with taking differences and gradients of views and added
unit tests
Added python test of gradient of slice