Revert "Update kruskal_reg.m"

This reverts commit 67b69ae9902f034f9d7dcf372f2a9cceb4e69be1.