WIP: scaling matx in sccan for gdescent