Removed unnecessary use of dynamicmatch toolbox.