Update KUNN.m

Add cleaning of M.