Fixed: gcd and lcm in header for time tests