Okay, actually I just went and replaced the vecmath stuff, wasn't hard. Wasn't much to replace, but I'm not too familiar with what this algorithm is supposed to do, so.. I guess it's working? (I didn't bother to test what it looks like when using javax.vecmath, but honestly there wasn't anything complex to replace - only 3 classes needed.)
If that doesn't look obviously screwed up, I could put a fork on Github, or just post replacement classes here if that helps at all.