Added sphere struct and methods.