added spatial static shift correction to analysis and fixed z.no_ss so that both x and y are corrected for, and no need to change z_err with static shift.