Stick to the article by John D. Cook you've referenced in your question — it's short and to the point. If you fail to apply it to your code, you should seriously think about your education. This is more about applied mathematics and informatics than programming, even though all implications are reflected in practical programming techniques. Or hire yourself a tutor. I don't think explaining your issues in a short CodeProject solution will add anything to it.
The closest relevant reading on the topic would be classical '
The Art of Computer Programming' by Donald Knuth. See
http://en.wikipedia.org/wiki/Donald_Knuth[
^].
—SA