Python Typeerror Numpy Float64 Object Oriented Design And Analysis