finished rough draft of SGD class. time to test