Correting error to gridding routine, enhancements to miriad conversion program