Assigns the material called name to the bottom halfspace of the i-th layer stack.
Stacks are counted 1, 2, 3, ...
A material called name must be in the list of materials. If it is not you can use the command load_material_from_database(name) in order to load the material from the database into the list of materials.