Added weighted average to calculation of zero point.  Tweaks to is_blank method