Added Sensex calculation