modified:   matlab/testweak.m