Use arrays instead of HashMaps in sparse matrices.
Use arrays instead of HashMaps in sparse matrices.