The Mathematical Legacy of Ancient India