Calculating amount of water displaced by spherical ball