added method to return a slice of a matrix
Merge pull request #141 from orthez/index_slice

added method to return a slice of a matrix