rascalc: a jackknife approach to estimating single-and multitracer galaxy covariance matrices