Is there a way to use the sgd package for a maximum likelihood estimation that does not fit into one of the statistical families? . I see that there is some placeholder source code for a sgd.function method, and I was wondering if there was a way to use sgd with arbitrary functions for the likelihood and derivative of the likelihood?