Sensex rises over 540 points