SparseVector: got rid of NPE when getting value for null indices

BTW is it normal that almost 100 tests fail or have errors when runnign with Maven.