Re #6827. Exposed method to get material.
Re #6827. Exposing material to python.
Merge remote branch 'origin/feature/6827_material_in_python'