Nestle has made changes to the way it weighs milk supplied by farmers in China after claims the company was under-paying its suppliers.