Changed y constant to uppercase Y

Changed y constant to uppercase Y to avoid conflict with lowercase y
user variables.