Cleaned the code in ContactSensor, now it satisfies the C++ style guide.