A simple gradient descent optimization package using scala