Update sdm_read.m