lal_transferfunction: numerous fixes to fir filter generation. calibration_parts.py: data cleaning function