If we're leaving this code in, can we put in a comment or something explaining the situation?

Like: This is a second implementation. It suffers from some numerical instabilities.

or something like that.