(2) Improved the maskOverlay code to create a better lung mask outline; Made a small change in the threshold mask code to improve compatibility with MATLAB in the future.