Fix severe overlap of buffers in Sensor.cpp.

Better, but now have a segmentation fault!