Do more work on improving the notation used for the SG method.