Stokes matrices for a class of reducible equations