New function: Check the consistency between geo and trainset (my version)