A forensic psychologist was giving evidence at the trial of Finlay MacDonald, who denies murdering his brother-in-law during a rampage of violence.