I would get rid of the copyright and possibly just mention that the code is inspired by our SGD matlab implementation.