Floating point exception seems to be the show stopper. You also have this other thread
Floating point exception