The Rail Accident Investigation Branch has released its report on the incident at Aviemore involving Flying Scotsman.