added offlinegradientdescent, some notes about gradientviews