Outside circular FoV the mask is 2, not 1
Added several functions: get_from_header, update_WCS, ...