converted undistort and cleaned up dir