Numpy Typeerror List Object Cannot Be Interpreted As A Number