simplify colwise and pairwise evaluation using NumericExtensions