Got the sphere primitives working with the new framework