GetItemLIist

Added Fancy Indexing for sparse matrix.
convert the else at line 349 to an elif, instead of having if inside each other. THis make the code more clear when it is possible.