Changes in Ping library to omit errors

I'm using the Arduino IDE V1.5.6