Set temperature by velocity rescaling