fix bug in adding units
Initial revision
Fix bug in theoretical rms for large datasets
fix hdelete call
Initialize nchan in point source case
replace len_trim with len1