DCU researcher applies maths to the human behaviour of investing