constructor simplified in the sphere class