added smooth2a.m