I don't think you need the X_std with dense data.