A court in India has convicted 24 people for their part in the 2002 riots in Gujarat state.More than 1,000 mainly Muslims were killed in the violence.