Thanks strill. The Basic DPS calculation could well be incorrect because its very complicated. I saw that equation on the wiki you mentioned before. I will try to implement the bottom equation because I am pretty sure that the one i am using is the top one.
Uploaded with ImageShack.us
but ingame we have
where A1, A2 - APS1, APS2
more in wiki with the strange Cyrillic letters. yet
"Just google "diablo 3 gold guide" and magical rainbow covered demons will assault your eyes."