Your definition of x must be different to what you had above.
It looks like you have one dimension of tuples, instead of three separate dimensions.
Your definition of x must be different to what you had above.
It looks like you have one dimension of tuples, instead of three separate dimensions.