Moved fitting from GnuplotBiDir to scipy.optimize.leastsq in vib_analyze.