implemented SetCurrentMaterial and added reference to Microsofr.CSharp for ExpandoObject functionality