Did you test yours against these?

http://forum.cabal.com/showthread.php?332-Calculation-of-AtK-Dmg-and-Amp

http://forums.asiasoftsea.net/showthread.php?t=569296