The One Day actor plays a sullen maths genius whose work makes him the target of dangerous criminals