When there were no fear of wars and invasions, science in India always excelled. Unfortunately for most part India was constantly threatened and no one big empire ruled for long. On the contrary, all those scientists you are mentioning recieved royal patronage as they could afford. We are second to none.