Create softfun.m