A critical study of the philosophical foundations of Indian Science with special reference to Ayurveda