updated sfold.m
cleanup