don't require subclasses of AbstractVector/Matrix to implement more than 1d/2d indexing
Merge pull request #3861 from stevengj/indexfix

don't require subclasses of AbstractVector/Matrix to implement more than 1d/2d indexing