PhD research looks at why students struggle with mathematics