adding mode to skycoord_to_pixel in wcs_helpers.skycoord_to_pixel_scale_angle