woops, broke riesz
added line_search and general nlcg, needs testing