Some improvements and corrections for testing particles_2 and get_gamma.