> which implies the NSA is incompetent at maths
No, it doesn't.
EDIT: To whoever downvoted - developing cryptography is hard. The idea that developing one broken cipher implies mathematical incompetence is laughable. You can't draw any conclusion from it except that it's hard to develop ciphers which aren't broken.