Numpy Array Has No Attribute Append