Return the cosine of x (measured in radians). This function has been overriden from math.cos to work element-wise on iterables