added wrapping for readMaterial and some preperations for more complete mapping of material related functions