Straight line fitting with IDL and MPFIT