added test for dimension of dataset
added readme to numpy example