Mathematical Modelling of Population Dynamics in Complex and Fragmented Environments