ChangePath:

-------------------------------------------------------------------------------
   Change the path
-------------------------------------------------------------------------------
   Form:
   currentPath = ChangePath( newPath )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   newPath       (1,:)   New path

   -------
   Outputs
   -------
   currentPath   (1,:)   Current path (before the change);     

-------------------------------------------------------------------------------

Children: