BUGFIX in linregress to handle case when one dataset has a mask which is False everywhere