Analysing lake sediment cores