Fixed uninitiallized X and y