The use of the NextGen model atmospheres for cool giants in a light curve synthesis code