added matlab workspace, so smoothing step is not necessary