Sensex closes 248 points higher