Fixing some bugs and starting to implement a driver for Agilent PNA