Do I need to install Newton to a certain directory to make this work? I downloaded Newton and installed to the default directory but when I run your scripts I get a "crash in ball_newt()" for every shape really.

I am trying to use Newton instead of the ODE since it isn't working the way I want it to, so any help is greatly appreciated.