X And Y Must Have Same First Dimension But Have Shapes 50 And 1