Spherically symmetric matter distribution