Revert "adding perimeter to matlab path"

This reverts commit eaaea12d0cfc1440443c698d8ab655038f98d85e.