Add set_matrix convenience function to scm_step.