Updated pcsensor.c
- Added modifications by Patrick Skillen (pskillen@gmail.com) and Steffan Slot (dev-random.net)
- Some cleanup (whitespace, variable names)