Added boundary layer untangling
Fixed setting PATH
Fixes to new boundary layer code