In XkNN.py, add normalize matrix function;