Refactored material data, corrections of python2 encoding errors, added new kind of button to select materials