added formula for ratox

Got the patch file fixed and wrote a formula for ratox.