Update KUNN.m

Fix another bug, seems working correctly now.