WIP: grad desc on matrix test