Create expaffinity.m