fixed sphere code building one too high and made the circle function use the same code, so the cylinders/circles/spheres/domes/bowls are compatible in their shape.