generalised fractioned step
moved iostream to the proper place
fixed multidim
implemented gss
added true zeros option
implemented grad descent
changed objective and output