Origins of the mandala