matlab surface fitting without toolbox