add more type checks and messages about what x and y are
add more type checks and messages about what x and y are

cleverhans-lab/cleverhans,cleverhans-lab/cleverhans,carlini/cleverhans,openai/cleverhans,carlini/cleverhans,cleverhans-lab/cleverhans