Fixed typo in calculation of K

Changed modlist to modelList