Create walshaffinity.m