Ab initio study of KN.