Understanding the role of metacognition and working memory in maths achievement