Ultrasonic and magnetic studies of Nd0.5Sr0.5MnO3