Improve material's index
Merge pull request #180 from PlumLabs/gc/improveMaterials

Improve material's index