Changes plotting functions to handle linear and decibel data; adds function for generating nice scale tick-marks; adds calibration routines for obtaining absolute gain