Studies on the development of an optical sensor for measuring the nutritional content of castor leaves to improve production in eri industry