Sphere support

Added support for spheres.
Examples in params directory.