Mechanical Modelling of Metamaterials and Periodic Structures