python shape tuple object is not callable