Making the structure of X and Y clearer for GraphCRF closes # 26