Moved typedef to top of header file

Should this be put back into the sphere class?