Thomas has another big 4th quarter, Celtics beat Raptors