Nobu Katayama's implementation of Jun Zhang's shear estimation algorithm