The diameter of the ball is 0.06meter, it means that the radius is 3cm.
Then the volume will be
You have provided that mass
Then, the density of the ball is about . This seems to be quite small (less than water. ???).
I did check out your code and try to run it(step by step).
The value grow very rapidly. It might be due to some mistake (or wrong number or wrong sign) in the code.
Could you check out all those parameters again?