Cleaned the code in ContactSensor and it now satisfies the style guide