Added function to load external phasemasks and add to current