The K correlation index: theory development and its applications in chemometrics