Changed function interfaces to use doubles instead of floats for
compatability with SCPI lib.