See the codes below, I\'m confused why is X_mat take range to column 490 and get Y_mat result at column 488? while the x matrix was originally set to be a 500 rows 500 colum