Improved the monitoring of the headset

Drastically increased the sampling frequency (which is needed to provide
accurate measures), and properly set up the EDK functions (specifying
the argument and return types as c_types structures)