mllib Updater and Gradient interfaces implemented