codestyle: Rename template parameter to CamelCase

Rename all `t_Material` template parameters to
`MaterialType`, matchiin the code convention.