Sphere collision test
Some cleanings