I keep getting the error "ValueError: setting an array element with a sequence." and "TypeError: only size-1 arrays can be converted to Python scalars" for t