Foam: A Tool for Spherical Approximation of Robot Geometry