I'm fairly sure Leophone uses the Zaxis calculator... Which I'm not entirely sure is accurate these days.
I'd appreciate it if you'd PM me the formula you'd have to go through to calculate infantry DPS (Full explained) though Mysthalin.
He uses the same code Zaxis uses, and its quite accurate. The only thing is that it doesn't use target tables, inc. accuracy, and scatter(which is pretty hard to calculate, you would need to simulate scatter)
This is for rifles:
((reloadFrequency + 1) * weapon.accuracy.short * damage) / (readyAimTime + (fireAimTimeShort + cooldownShort + WindUp + WindDown) * reloadFrequency + reloadDuration)
Don't really think theres anything for myst to explain. The formula is pretty self explanatory.