Plea agreement reached in Thornton 16-year-old's death