correcting a gcd simd bug and adding float case
gcdmat for gallery