Update des_functions.py

Fixed KMP so there is no true weight changing now.