boxing of X and Y work, singular matrix errro