How did advancements during the Gupta period transform mathematics