Migrated Material class and validated with SWIG